<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Function ctl | Slimore</title>

	<link rel="stylesheet" href="resources/bootstrap.min.css?973e37a8502921d56bc02bb55321f45b072b6f71">
	<link rel="stylesheet" href="resources/style.css?49f43d3208c5d7e33fa16d36107a345bf11cc00d">

</head>

<body>
	<nav id="navigation" class="navbar navbar-default navbar-fixed-top">
		<div class="container-fluid">
			<div class="navbar-header">
				<a href="index.html" class="navbar-brand">Slimore</a>
			</div>
			<div class="collapse navbar-collapse">

                <form id="search" class="navbar-form navbar-left" role="search">
                    <input type="hidden" name="cx" value="">
                    <input type="hidden" name="ie" value="UTF-8">
                    <div class="form-group">
                        <input type="text" name="q" class="search-query form-control" placeholder="Search">
					</div>
				</form>

				<ul class="nav navbar-nav">
					<li>
						<a href="namespace-None.html" title="Summary of None"><span>Namespace</span></a>
					</li>
					<li class="active">
<span>Function</span>					</li>





				</ul>
			</div>
		</div>
	</nav>

	<div id="left">
	<div id="menu">

		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
					<li class="active">
						<a href="namespace-None.html">
							None						</a>
							</li>
					<li>
						<a href="namespace-Slimore.html">
							Slimore<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-Slimore.Cache.html">
							Cache<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-Slimore.Cache.Exception.html">
							Exception						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-Slimore.Captcha.html">
							Captcha						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Database.html">
							Database						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Debug.html">
							Debug						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Http.html">
							Http						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Image.html">
							Image						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Log.html">
							Log						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Middleware.html">
							Middleware						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Mvc.html">
							Mvc						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Pagination.html">
							Pagination						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Upload.html">
							Upload						</a>
							</li>
								</ul></li>
			</ul>
		</div>


		<div id="elements">





			<h3>Functions</h3>
			<ul>
				<li><a href="function-arrayToObject.html">arrayToObject</a></li>
				<li><a href="function-console.html">console</a></li>
				<li><a href="function-controller.html">controller</a></li>
				<li class="active"><a href="function-ctl.html">ctl</a></li>
				<li><a href="function-currentUrl.html">currentUrl</a></li>
				<li><a href="function-decrypt.html">decrypt</a></li>
				<li><a href="function-detectDevice.html">detectDevice</a></li>
				<li><a href="function-encrypt.html">encrypt</a></li>
				<li><a href="function-fileFormatSize.html">fileFormatSize</a></li>
				<li><a href="function-getDirectoryItems.html">getDirectoryItems</a></li>
				<li><a href="function-getDpi.html">getDpi</a></li>
				<li><a href="function-hexToRGB.html">hexToRGB</a></li>
				<li><a href="function-html.html">html</a></li>
				<li><a href="function-imageDataUrl.html">imageDataUrl</a></li>
				<li><a href="function-iPad.html">iPad</a></li>
				<li><a href="function-iPhone.html">iPhone</a></li>
				<li><a href="function-iPod.html">iPod</a></li>
				<li><a href="function-isAndroid.html">isAndroid</a></li>
				<li><a href="function-isApache.html">isApache</a></li>
				<li><a href="function-isBlackberry.html">isBlackberry</a></li>
				<li><a href="function-isChrome.html">isChrome</a></li>
				<li><a href="function-isCli.html">isCli</a></li>
				<li><a href="function-isFirefox.html">isFirefox</a></li>
				<li><a href="function-isFreeBSD.html">isFreeBSD</a></li>
				<li><a href="function-isIE.html">isIE</a></li>
				<li><a href="function-isIIS.html">isIIS</a></li>
				<li><a href="function-isJson.html">isJson</a></li>
				<li><a href="function-isLinux.html">isLinux</a></li>
				<li><a href="function-isMacOSX.html">isMacOSX</a></li>
				<li><a href="function-isMobile.html">isMobile</a></li>
				<li><a href="function-isNginx.html">isNginx</a></li>
				<li><a href="function-isOpera.html">isOpera</a></li>
				<li><a href="function-isSafari.html">isSafari</a></li>
				<li><a href="function-isTablet.html">isTablet</a></li>
				<li><a href="function-isUnix.html">isUnix</a></li>
				<li><a href="function-isUnixLike.html">isUnixLike</a></li>
				<li><a href="function-isWebOS.html">isWebOS</a></li>
				<li><a href="function-isWindows.html">isWindows</a></li>
				<li><a href="function-js.html">js</a></li>
				<li><a href="function-jsonToArray.html">jsonToArray</a></li>
				<li><a href="function-linkTag.html">linkTag</a></li>
				<li><a href="function-password.html">password</a></li>
				<li><a href="function-phoneMaskCode.html">phoneMaskCode</a></li>
				<li><a href="function-randomCharacters.html">randomCharacters</a></li>
				<li><a href="function-replaceDirSeparator.html">replaceDirSeparator</a></li>
				<li><a href="function-rgbToHex.html">rgbToHex</a></li>
				<li><a href="function-script.html">script</a></li>
				<li><a href="function-shortUrl.html">shortUrl</a></li>
				<li><a href="function-style.html">style</a></li>
			</ul>
		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
	<div id="rightInner">
<div id="content" class="function">
	<h1>Function ctl</h1>


	<div class="description">
	<p>Make the route handle string for autoload (short name)</p>
	</div>

	<div class="alert alert-info">
		
		<b>Package:</b> Slimore<br>
				<b>Copyright:</b>
				2015 Pandao<br>
				<b>License:</b>
				<a href="MIT">License https://github.com/slimore/slimore#license</a><br>
				<b>Author:</b>
				Pandao <a href="&#109;&#x61;&#x69;&#108;&#116;&#x6f;&#58;&#115;&#x6c;&#105;&#109;&#x6f;r&#101;&#x40;&#x69;&#112;&#x61;&#x6e;&#100;&#97;&#x6f;&#46;&#99;&#x6f;m">&#115;&#x6c;&#105;&#109;&#x6f;r&#101;&#x40;&#x69;&#112;&#x61;&#x6e;&#100;&#97;&#x6f;&#46;&#99;&#x6f;m</a><br>
		<b>Located at</b>
		<a href="source-function-ctl.html#15-33" title="Go to source code">
			Slimore/Helper/Functions.php
		</a><br>
	</div>


	<div class="panel panel-default">
        <div class="panel-heading"><h2>Parameters summary</h2></div>
		<table class="summary table table-bordered table-striped" id="parameters">
		<tr id="$controller">
			<td class="name"><code>string</code></td>
			<td class="value"><code><var>$controller</var> = <span class="php-quote">'index'</span></code></td>
			<td>index</td>
		</tr>
		<tr id="$action">
			<td class="name"><code>string</code></td>
			<td class="value"><code><var>$action</var> = <span class="php-quote">'index'</span></code></td>
			<td>index</td>
		</tr>
		<tr id="$namespace">
			<td class="name"><code>string</code></td>
			<td class="value"><code><var>$namespace</var> = <span class="php-quote">''</span></code></td>
			<td></td>
		</tr>
		</table>
	</div>

	<div class="panel panel-default">
        <div class="panel-heading"><h2>Return value summary</h2></div>
		<table class="summary table table-bordered table-striped" id="returns">
		<tr>
			<td class="name"><code>
				string
			</code></td>
			<td>
				string
			</td>
		</tr>
		</table>
	</div>


</div>
	</div>

	<div id="footer">
		Slimore API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
<script src="resources/combined.js?ff10aed8ecadcf22a036a1e06da72f663416f105"></script>
<script src="elementlist.js?01261a928428f5322e9a1f12c874f91987722d3a"></script>
</body>
</html>
